package com.carleasoft.mps.adu.business.role.service;


import com.carleasoft.mps.adu.business.role.bean.vo.AuthorityDataPermsVo;

import java.util.List;

/**
 * <p>Description: role service</p>
 * @since 2020-05-11
 * @author ztm
 */
public interface AuthorityPermDataService {

    /**
     * 登录用户数据权限查询封装，要解决所属部门和所属组织权限
     *
     * @param roleCodes
     * @return AuthorityRoleVo
     */
    AuthorityDataPermsVo getDataPermCodesNeedConvert(List<String> roleCodes,Boolean isLogin,Boolean isInc);
    /**
     * 数据权限换算为树
     *
     * @param
     * @return AuthorityRoleVo
     */
    void analyseDataPermAsTree(AuthorityDataPermsVo authorityDataPermsVo);

}
